package com.lsy.weizhi2.JsonObject;

/**
 * Created by 嗨哟 on 2017/4/17.
 */
public class ImageJson {

    /**
     * result : true
     * message :
     * error :
     * data : {"createTime":"2017-04-17 14:53:21","createUserId":0,"createUsername":null,"id":3,"originName":"ANL2243.JPG","path":"","fileSize":54978,"extension":".jpg","mime":"image/jpeg","beRemote":true,"bePicture":true,"ossKey":"2017-04-17_145321_FLJ7S6.jpg"}
     */

    private boolean result;
    private String message;
    private String error;
    private DataBean data;

    public boolean isResult() {
        return result;
    }

    public void setResult(boolean result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * createTime : 2017-04-17 14:53:21
         * createUserId : 0
         * createUsername : null
         * id : 3
         * originName : ANL2243.JPG
         * path :
         * fileSize : 54978
         * extension : .jpg
         * mime : image/jpeg
         * beRemote : true
         * bePicture : true
         * ossKey : 2017-04-17_145321_FLJ7S6.jpg
         */

        private String createTime;
        private int createUserId;
        private Object createUsername;
        private int id;
        private String originName;
        private String path;
        private int fileSize;
        private String extension;
        private String mime;
        private boolean beRemote;
        private boolean bePicture;
        private String ossKey;

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getCreateUserId() {
            return createUserId;
        }

        public void setCreateUserId(int createUserId) {
            this.createUserId = createUserId;
        }

        public Object getCreateUsername() {
            return createUsername;
        }

        public void setCreateUsername(Object createUsername) {
            this.createUsername = createUsername;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getOriginName() {
            return originName;
        }

        public void setOriginName(String originName) {
            this.originName = originName;
        }

        public String getPath() {
            return path;
        }

        public void setPath(String path) {
            this.path = path;
        }

        public int getFileSize() {
            return fileSize;
        }

        public void setFileSize(int fileSize) {
            this.fileSize = fileSize;
        }

        public String getExtension() {
            return extension;
        }

        public void setExtension(String extension) {
            this.extension = extension;
        }

        public String getMime() {
            return mime;
        }

        public void setMime(String mime) {
            this.mime = mime;
        }

        public boolean isBeRemote() {
            return beRemote;
        }

        public void setBeRemote(boolean beRemote) {
            this.beRemote = beRemote;
        }

        public boolean isBePicture() {
            return bePicture;
        }

        public void setBePicture(boolean bePicture) {
            this.bePicture = bePicture;
        }

        public String getOssKey() {
            return ossKey;
        }

        public void setOssKey(String ossKey) {
            this.ossKey = ossKey;
        }
    }
}
